<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/11/26
 * Time: 23:28
 */

include("../utils/Test1.php");

echo Test1::$a;

class Test2{
    var $t1;
    function __construct(){
        $this->t1=new Test1();
    }

    function t(){
        echo Test1::$a;
    }
}

$t = new Test2();
$t->t();